home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / TAWUG / TAWUG Disk No. 66 (SHK) / TAWUG66.shk / PRODOS.INTRO (.txt) < prev    next >
AppleWorks Document  |  1988-03-11  |  14KB  |  200 lines

  1. O=====|====|====|====|====|====|====|====|====|====|====|====|====|====|====|===
  2. rofessional 
  3. perating 
  4. ystem):
  5. K     With the advent of larger disk drives and affordable hard disk drives J
  6. Hfor the Apple II line, came the need for a more sophisticated DOS (disk K
  7. Ioperating system), which could keep track of the vastly increased number M
  8. Kof files which can be saved on an 800 K  three and one-half inch disk, not M
  9. Kto mention on even larger (10 Meg or more) hard drives.  When you get that M
  10. Klarge a number of files, it becomes hard for the human who created them to H
  11. Fremember what the files contain, without a system of categorizing the +
  12. files and keeping similar files together.M
  13. K     The easiest way to envision what ProDOS does is to think of each disk L
  14. Jas a file cabinet into which a number of file folders can be put.  Inside K
  15. Ieach file folder would be a number of related files--for example, a file E
  16. Ccabinet containing personnel files (analogous to the disk itself), L
  17. Jorganized into folders (called directories and subdirectories in ProDOS), B
  18. each folder containing a bunch of files about a single employee.I
  19. G     Each ProDOS disk, then, contains a root directory, similar to the E
  20. Ccatalog on a DOS 3.3 disk or an index to the folders within a file A
  21. ?cabinet.  Opening the file cabinet you would find file folders I
  22. G(directories) and perhaps some loose files not yet stored in folders.  J
  23. HEach of the directories (folders) can contain one or more files and the H
  24. directories (folders) can even contain other folders (subdirectories) 
  25. Iwithin them--inside of which would be found files.  There is no law that G
  26. Esays a folder MUST contain at least one file, but it would be rather K
  27. Iinefficient to store empty folders (empty directories or subdirectories) #
  28. in an actively used file cabinet.M
  29. K     OK, now let's assume we've set up this file cabinet (disk) with 30 or K
  30. I40 folders (directories) in it, each of which contains several files and K
  31. Isome of which even contain folders-within-folders (subdirectories) which J
  32. Hthen contain some files.  How do we find the one single file we want to M
  33. Klook at right now. Simple:  each file is defined by a pathname which looks 
  34. somewhat like this:
  35.  /MY.DISK/MY.FIRST.FOLDER/MY.INNER.FOLDER/JOE.BLOW.FILE/
  36. FTo find that specific file, you must know the entire pathname for the L
  37. Jfile, whether you are trying to locate it within another program, such as G
  38. EAppleWorks or Apple Access, or even if "JOE.BLOW.FILE" is actually a K
  39. Iprogram itself and you want to run that particular program. For example, L
  40. JAppleWorks will oftentimes ask you to "type entire pathname" for a file.  M
  41. KOr, assuming JOE.BLOW.FILE is itself a program which can be run, to run it 
  42. you would have to type:?
  43.  RUN  /MY.DISK/MY.FIRST.FOLDER/MY.INNER.FOLDER/JOE.BLOW.FILE/I
  44. G     If you  had to type the entire pathname for a file nested several L
  45. subdirectories deep, each time you wanted to use the file, that could get 
  46. Eannoying pretty fast, so ProDOS has a provision for setting PREFIX.  J
  47. HSupposing you are going to be working on several files contained within H
  48. FMY.INNER.FOLDER, which is, itself contained in MY.FIRST.FOLDER on MY. -
  49. DISK.  As a shortcut, you could then type :
  50.  PREFIX  /MY.DISK/MY.FIRST.FOLDER/MY.INNER.FOLDER/
  51. HBy setting the PREFIX, you now only have to type in the the name of the E
  52. Cfile you are interested in, so long as it is contained within that 
  53. particular nest of folders.L
  54. J     To get back out to the root directory (main disk catalog), you would 
  55. only have to type:
  56.  PREFIX /MY.DISK/G
  57. EIf you can't remember what prefix you set, typing PREFIX followed by 
  58. RETURN will(
  59. show the current PREFIX on the screen.
  60. C     While this business of directories, subdirectories, files and L
  61. Jprefixes may sound complex initially, it really is a necessity even on an K
  62. I800K ( 3 1/2 inch disk). Imagine trying to find JOE.BLOW.FILE if you had L
  63. Jto sort through hundreds of unsorted pieces of paper just stuck at random 
  64. into the file cabinet!!
  65. J     Aside  from the hierarchical structure ( files within folders within H
  66. folders...etc.),  ProDOS isn't much different from DOS 3.3  (phew!!!).I
  67. G      The same commands (RUN, CATALOG, LOAD, SAVE, LIST, LOCK, UNLOCK, I
  68. GDELETE, BRUN, BLOAD, BSAVE) still work, essentially the same as in DOS J
  69. H3.3, so long as you remember to type in the entire pathname of the file L
  70. Jyou want these DOS commands to apply to--either by manually typing in the K
  71. Ientire pathname  OR by presetting an appropriate  PREFIX and then typing M
  72. Konly that part of the pathname (called, appropriately, "partial pathname") &
  73. which is not included in the PREFIX.
  74. J     Another command which is available under ProDOS but not DOS 3.3 is   G
  75. ECREATE which allows you to create the directories and subdirectories I
  76. G(folders and folders-within-folders) into which you will eventually be 
  77. putting files.
  78. ProDOS also has a few nice shortcuts built in.  You can type:
  79. H     CAT  instead of catalog and get a 40 column version of the catalog H
  80. Fdisplayed on the screen.  You can still use the command CATALOG under L
  81. JProDOS (it will get you an 80 column version of the catalog) but CAT is a @
  82. lot shorter and easier to type, especially for us non-typists.
  83. I     And you can use a dash (-) , followed by the program name, to run a 
  84. program.
  85. For example:4
  86.   PREFIX /MY DISK/MY.FIRST.FOLDER/MY.INNER.FOLDER/
  87.   - JOE.BLOW.FILE    {runs JOE.BLOW.FILE}
  88. To initialize a ProDOS disk :
  89.     Boot up using a system master disk which contains ProDOS on it.K
  90. I    Enter the System Utilities and choose FORMAT DISK.  Once the disk is H
  91. Fformatted, it can be used as a data disk, but will NOT boot by itself I
  92. Gunless you then (remember you have formatted it but not initialized it 
  93. yet):K
  94. I    Copy ProDOS to the newly formatted disk and then copy a .SYSTEM type F
  95. Dfile to the disk--if you want the disk to be used for running BASIC -
  96. programs then copy BASIC.SYSTEM to the diskK
  97. I    If you want the disk to boot up then run a greeting program like the F
  98. hello program used in DOS 3.3 section, simply follow the same steps:
  99.       type NEW$
  100.       type 10 PRINT CHR$(4); "CAT"G
  101. E      type SAVE STARTUP  {note that proDOS greeting programs must be .
  102. called STARTUP, NOT HELLO--OR ANYTHING ELSE}
  103. INote:  If you are using AppleWorks, there  is a command which allows you G
  104. Eto format a disk (AppleWorks is a Pro-DOS based program) from within M
  105. KAppleWorks. However, a disk formatted in this fashion can NEVER be made to E
  106. Cboot on its own, not even if you copy ProDOS and BASIC.SYSTEM onto H
  107. Fit--unless of course, you erase the disk by reformatting it from your M
  108. KSystem Utilities disk--but then you would lose everything you had saved on I
  109. Gthe disk before you reformatted it--a rather drastic solution.  If you M
  110. Kthink you might like your AppleWorks disks to be bootable (for example, to I
  111. Genable you to catalog them to see what's on them without having to run M
  112. KAppleWorks to check their contents) it is easier to follow the steps above H
  113. Fand format the disk directly from ProDOS (using your system utilities H
  114. Fdisk) , copying ProDOS and BASIC.SYS, and writing the startup program J
  115. Hlisted above.  A disk formatted in this fashion can always be used as a >
  116. data disk for AppleWorks, but will boot on its own, as well.
  117. I     In the case of  both DOS 3.3 and ProDOS most of the commands listed G
  118. Eabove are available from within the System Utilities program on your M
  119. KSystem Utilities disk. The System Utilities have some additional features, K
  120. in addition, such as the ability to COPY files  from one disk to another 
  121. Kor from one directory/subdirectory on the same disk into another directory M
  122. Kor subdirectory on the disk, the ability to CONVERT files  from DOS 3.3 to K
  123. IProDOS and vice versa {files, especially programs, so converted may need L
  124. Jsome modification before they will work--see your manual} and the ability K
  125. Ito  COPY (DUPLICATE) an ENTIRE DISK--this will work only with disks that M
  126. Kare not  copy-protected and involves reformatting the target disk, thereby (
  127. erasing everything on the target disk.
  128. G     Note:  for those people using the DOS 3.3 system master, the copy M
  129. Kfiles function is done by running a binary program called FID ---type BRUN I
  130. GFID at the ] cursor and the copy disk function is done by running (not K
  131. IBRUNning) a program called COPYA --type RUN COPYA  at the ] cursor.  So, J
  132. Hif someone tells you to "use COPYA" to copy a given disk  or to "FID" a H
  133. given file from one disk to another, you will now know what they mean.
  134.   HOW DO I GET STORE-BOUGHT PROGRAMS TO RUN ON MY APPLE?
  135. K     OK, you say, so now I know about all these fancy terms like RAM, ROM, G
  136. EDOS 3.3 and ProDOS, but what I really  want to do is simply run this +
  137. program I just bought.  How do I do that?
  138. J  1)  First, read the directions that came with the program (at least the M
  139. Kpart about getting started)--this may sound like a drag, but some programs K
  140. Irequire you to boot the back-side of disk one to start  out or have some %
  141. other quirk you need to know about.M
  142. K  2)  Insert the disk, label side up into drive one (or the internal drive 
  143. on your Apple IIc)$
  144.   3) Turn the computer's power on.
  145. I     Apple IIe/IIc owners have another method they can use to reboot, as L
  146. Jwell. {Obviously, this one won't work on a II+, because the II + does not 
  147. have an Open-Apple key!!}:K
  148. I     If you have been working with one program and are finished and want L
  149. Jto switch to another program, you don't really have to turn the power off !
  150. and then back on, you can just:K
  151. I  1) take out the first program's disk(s) and replace it with the second 
  152. program's disk(s)K
  153. I  2)Then, simultaneously, press control-OpenApple-Reset  {all three keys M
  154. Kat once} and then release.  This should cause the disk drive light turn on M
  155. Kand the disk to start whirring.  Soon, you should see the second program's "
  156. starting screen on your monitor.
  157. A FEW FINAL TIPS:M
  158. K     The power switch and the power supply on any computer are its weakest K
  159. Ilinks. One way to avoid the annoyance of having a computer which doesn't L
  160. Jwork simply because the on-off switch doesn't work, is to use an external K
  161. Ipower strip between the wall socket and the computer.  Turn the power on J
  162. Hand off at the power strip, rather than at the computer {obviously this M
  163. Kmeans that the computer's on-off switch must be left ON} and you will save J
  164. Ha lot of wear and tear on your Apple's power switch.  Whether you use a H
  165. Fsimple power strip or one which has a surge suppressor built in, is a H
  166. Fhighly moot point.  Personally, I have never seen the need for buying K
  167. Isurge suppressors, but I know some people who swear by them.  It's up to     
  168. you....
  169. F     Another word of warning, never remove a disk from the disk drive M
  170. Kwhile the drive's in use light is on-aside from potentially "trashing" the K
  171. Idata on the disk, you may also tear/scratch the disk itself.   A torn or L
  172. Jscratched disk is useless--the data on it is probably irretrievably lost! M
  173. K{I've seen disks get trashed to the point where some data is irretrievable M
  174. Klost, but I've never ACTUALLY seen one torn/scratched by removing it while K
  175. Ithe drive is on--but the folklore says you can do it--SO I WOULDN'T RISK 
  176. IT IF I WERE YOU.}
  177. H     Furthermore, never,never hit RESET, CONTROL-RESET, or CONTROL-OPEN M
  178. KAPPLE-RESET while the drive's in use light is on, because you run the risk L
  179. Jof "trashing" the disk--that is, so badly scrambling the data on the disk G
  180. Ethat you may never be able to get it to work properly again--you can H
  181. Freinitialize such a "trashed" disk and use it again, but the data [OR G
  182. Eworse yet the program(s)] on it will be permanently erased if you do 
  183. reinitialize the disk.
  184. C     BEFORE YOU EITHER REINITIALIZE A TRASHED DISK OR THROW AWAY A L
  185. JTORN/SCRATCHED ONE, IF IT HAS VALUABLE INFORMATION ON IT, CHECK WITH YOUR M
  186. KAPPLE DEALER--HE MAY HAVE {SOFTWARE} TOOLS WHICH CAN SALVAGE AT LEAST PART H
  187. FOF THE DATA.  If you are a particularly adventuresome soul, you might L
  188. Jconsider getting a program like Copy II Plus, which, when used in concert L
  189. Jwith information from the books Beneath Apple DOS (for DOS 3.3 disks) and M
  190. KBeneath Apple ProDos (for ProDOS disks), may enable you to salvage trashed K
  191. Idisks or files.  Just remember: if you don't know what you are doing and M
  192. Kyou use this method of salvaging data, you may make things even worse--and J
  193. Hmake the data totally irretrievable.  I just mention these alternatives K
  194. Ibecause I have found them useful in the past (and undoubtedly will do so H
  195. Fagain in the future)--but I have also managed to royally mess up some J
  196. Hdisks I was trying to salvage,too--so it is best to try this out before E
  197. you need it on a backup copy of a disk--not your only copy of some 
  198. Kvaluable data.  OR if you have any doubts, let someone who knows what they <
  199. are doing try to fix the problem (e.g. your Apple Dealer).
  200.